-----=====Diable and Qume Daisy-Wheel Printer Codes=====-----

=====Introduction=====
Diablo and Qume were similar languages for controlling daisywheel
printers; as such they are obsolete. CaPSL printers supported Diablo
commands, but CaPSL itself is also mostly obsolete.
The commands shown are for Qume Sprint 11 printers;
some are also supported by Diablo 360 printers.
Diablo was a division of the Xerox corporation.

=====Notes=====
(now mostly obsolete now)
(most ANSI control codes supported)
(spaces in escape sequence definitions are not literal)
* Means the sequence is also availible in Diablo. Commands not marked with
   * are supported by Qume printers only.

=====Initialization=====
ESC SUB I - Initialize printer
ESC SUB SO - Terminal self-test
ESC CR P - Initialize Printer

=====Print Head and Page Control=====
ESC BS - *Backspace 1/120"
ESC LF - *Negative Linefeed (backwards)
ESC SO - Shift to Primary Mode
ESC SI - Return to Normal Mode
ESC RS n - *Define vertical spacing increment as n-1
ESC US n - *Define horizontal spacing increment as n-1
ESC VT n - *Define absolute vertical tab to line n-1
ESC HT n - *Define absolute horizontal tab to column n-1
ESC SP - Print Special character position 004
ESC 0 - *Set right margin
ESC 1 - *Set horizontal tab stop
ESC 2 - *Clear all horizontal tab stops
ESC 8 - *Clear horizontal tab stop
ESC 9 - *Set left margin
ESC + - Set top margin
ESC - - Set bottom margin
ESC ( n - Set tabs at n (n can be a list)
ESC ) n - Clear tabs at n (n can be a list)
ESC / - Print Spacial character position 002
ESC C n m - Absolute horizontal tab to column n
ESC D - *Negative linefeed
ESC E n m - Define horizontal space increments
ESC F n m - Set form length
ESC L n m - Define vertical spacing increment
ESC U - *Half linefeed
ESC W - Auto carriage return/linefeed on
ESC V n m l - Relative vertical paper motion
ESC N - No carriage movement on next character
ESC O - Right margin control on
ESC P n - Absolute vertical tab to line n
ESC H n m l - Relative horizontal motion
ESC Y - Right margin control off
ESC Z - Auto carriage return/linefeed off
ESC e - Sheet feeder page eject
ESC I - Sheet feeder insert page from tray one

=====Graphics=====
ESC 3 - *Graphics on, 1/60" resolution
ESC G - *Graphics on, 1/120" resolution
ESC 4 - *Graphics off

=====Modes of Operation=====
ESC 5 - *Forward Print
ESC 6 - *Backwards Print
ESC . - Auto linefeed on
ESC , - Auto linefeed off
ESC < - Auto bidirectional printing on
ESC > - Auto bidirectional printing off
ESC @ T - Enter user test mode
ESC # - Enter secondary test mode
ESC $ - *WPS (Proportionally spaced print wheel) on
ESC % - *WPS (Proportionally spaced print wheel) off

=====Font Options=====
ESC I - Underlining on
ESC J - Underlining off
ESC K n - Bold overprint mode on
ESC M n - Bold overprint mode off
ESC Q - Shadow print on
ESC R - Shadow print off
ESC S - No print on
ESC T - No print off

=====Force Execution=====
ESC X - Force execution
ESC x - Force execution of command